<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>kbd</Name>
        <Homepage>http://freshmeat.net/projects/kbd/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Keyboard and console utilities</Summary>
        <Description>The kbd package contains keytable files and keyboard utilities compatible with kernel version 1.1.54 and later.</Description>
        <Archive sha1sum="9aeac5556b827a9f13ccdb25257a1ac4b0243387" type="tarxz">https://www.kernel.org/pub/linux/utils/kbd/kbd-2.0.4.tar.xz</Archive>
        <Archive sha1sum="17625849ecf4dedf755aefa06d78406b92c31743" type="tarbz2" target="kbd-2.0.4">http://source.pisilinux.org/1.0/kbd-latarcyrheb-16-fixed.tar.bz2</Archive>
        <Archive sha1sum="a5f6d9dff7a8a484cd5014ec7ffdf1eaed27084a" type="tarbz2" target="kbd-2.0.4">http://source.pisilinux.org/1.0/kbd-latsun-fonts.tar.bz2</Archive>
        <Archive sha1sum="d52f95fdc761cead041d23992f8802be5ac4bc12" type="tarbz2" target="kbd-2.0.4">http://source.pisilinux.org/1.0/ro_maps.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>gettext</Dependency>
            <Dependency>gzip</Dependency>
            <Dependency>pam-devel</Dependency>
	    <Dependency>check-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- Mandriva patches -->
            <Patch level="1">mandriva/kbd-1.15-mandriva.patch</Patch>
            <Patch level="1">mandriva/kbd-1.15-tilde_twosuperior_french_kbd.patch</Patch>
            <Patch level="1">mandriva/kbd-1.12-data_thai.patch</Patch>
            <Patch level="1">mandriva/kbd-1.15-remove-unneeded-calls.patch</Patch>
    
            <!-- Archlinux patches -->
            <!--Patch level="1">archlinux/fix-dvorak-es.patch</Patch-->
            <Patch level="1">archlinux/fix-euro2.patch</Patch>

            <!-- Pisi Linux patches -->
            <Patch level="1">pisilinux/unicode_start-default-font.patch</Patch>
            <Patch level="1">pisilinux/tr-keypad-comma.patch</Patch>
            <Patch level="1">pisilinux/tr-no-meta_space.patch</Patch>
            <Patch level="1">pisilinux/trq-capslock-fix.patch</Patch>
            <Patch level="1">pisilinux/currency.patch</Patch>
            <Patch level="1">pisilinux/trf-keymap-fixes.patch</Patch>
            <Patch level="1">pisilinux/trf-capslock-fix.patch</Patch>
	    
        </Patches>
    </Source>

    <Package>
        <Name>kbd</Name>
        <RuntimeDependencies>
            <Dependency>pam</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/bin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/kbd/keymaps</Path>
            <Path fileType="localedata">/usr/share/kbd/locale</Path>
            <Path fileType="data">/usr/share/kbd/unimaps</Path>
            <Path fileType="data">/usr/share/kbd/consolefonts</Path>
            <Path fileType="data">/usr/share/kbd/consoletrans</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile permission="0644" target="/usr/share/kbd/consolefonts/lat5u-12.psf.gz">pisilinux/lat5u-12.psf.gz</AdditionalFile>
            <AdditionalFile permission="0644" target="/usr/share/kbd/consolefonts/lat5u-14.psf.gz">pisilinux/lat5u-14.psf.gz</AdditionalFile>
            <AdditionalFile permission="0644" target="/usr/share/kbd/consolefonts/lat5u-16.psf.gz">pisilinux/lat5u-16.psf.gz</AdditionalFile>

            <!-- Grabbed from ftp://ftp.linux-france.org/pub/macintosh -->
            <AdditionalFile permission="0644" target="/usr/share/kbd/keymaps/mac/all/mac-fr-ext_new.map.gz">mandriva/mac-fr-ext_new.kmap.gz</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>2.0.4</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>2.0.3</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-08</Date>
            <Version>2.0.3</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
